#include "dialog.h"
#include <QPushButton>

dialog::dialog(QWidget *parent):QDialog(parent)
{
    QPushButton *button = new QPushButton("退出",this);

    connect(button,&QPushButton::clicked,this,&QDialog::close);
}
